package com.mozai.shopping.model.http;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(description = "活动删除请求体")
public class ActivityDelReq implements Serializable {
    @NotNull(message = "活动id 不能为空")
    @ApiModelProperty(value = "活动id",required = true,dataType = "Integer")
    private Integer id;
}
